package com.pandora.credit.dto.request;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * @author developer
 */
public class SmsCodeRequest {
    /**
     * 请求类型 1:注册短信码 2:找回密码短信码
     */
    private Integer type;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 短信验证码，有则去验证短信验证码是否有效
     */
    @JsonProperty("sms_code")
    private String code;
    /**
     * [optional] 渠道
     */
    private String source;
    /**
     * 图片验证码，短信验证码超过三次，则验证图片验证码
     */
    private String captcha;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }
}
